<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>T.O.众越财富</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.11/typed.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
    <link rel="stylesheet" href="https://cdn.example.com/path/to/your/library.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fullcalendar@5.11.3/main.min.css">
    <script src="https://cdn.example.com/path/to/your/library.js"></script>
    <!-- 引入基础css来层叠掉浏览器默认样式 -->
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/events-month.css">
    <!-- 引入首页样式表 -->
    <link rel="stylesheet" href="../css/content.css">
</head>

<body>
    <!-- 首页总容器 -->
    <div class="containers">
        <!-- 头部导航区域 -->
        <nav class="navbar navbar-expand-lg navbar-light container_header" \>
            <div class="container_header_content w">
                <div class="zhudao header_nav_top">
                    <span>contact@oneupus.com / (1)888-885-8775</span>
                    <a href="https://www.oneupus.com/freequote/">免费估价</a>
                </div>
                <div class="dao">
                    <div class="dao_lfet">
                        <a href=""><img src="	https://www.oneupus.com/wp-content/uploads/2022/05/logo.jpg"
                                alt="加载失败，请重新加载"></a>
                    </div>
                    <div class="dao_right">
                        <div class="collapse navbar-collapse w" id="navbarNavDropdown" style="width: 63vw;">
                            <ul class="navbar-nav">
                                <li class="nav-item dropdown">
                                    <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
                                        aria-expanded="false">
                                        关于众越
                                    </a>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">众越文化</a>
                                        <a class="dropdown-item" href="#">合作伙伴</a>
                                        <a class="dropdown-item" href="#workShow">环境展示</a>
                                        <a class="dropdown-item" href="#">公司历程</a>
                                    </div>
                                </li>
                                <li class="nav-item dropdown">
                                    <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
                                        aria-expanded="false">
                                        客户专区
                                    </a>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">免费估价</a>
                                        <a class="dropdown-item" href="https://myonewow.com/login"
                                            target="_blank">WOW系统</a>
                                    </div>
                                </li>
                                <li class="nav-item dropdown">
                                    <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
                                        aria-expanded="false">
                                        众越资讯
                                    </a>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">培训活动</a>
                                    </div>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">THE ONE ZONE</a>
                                    </div>
                                </li>

                                <li class="nav-item dropdown">
                                    <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
                                        aria-expanded="false">
                                        服务介绍
                                    </a>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">高端寿险</a>
                                        <a class="dropdown-item" href="#">教育基金</a>
                                        <a class="dropdown-item" href="#">年金规划</a>
                                        <a class="dropdown-item" href="#">重疾保障</a>
                                        <a class="dropdown-item" href="#">资产配置</a>
                                        <a class="dropdown-item" href="#">退休规划</a>
                                        <a class="dropdown-item" href="#">长期护理</a>
                                        <a class="dropdown-item" href="#ssgh">省税规划</a>
                                    </div>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="#">会员登录</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="#">联系我们</a>
                                </li>
                                <li class="nav-item dropdown">
                                    <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
                                        aria-expanded="false">
                                        语言切换
                                    </a>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">中文</a>
                                        <a class="dropdown-item" href="#">English</a>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>

            </div>

        </nav>
        <!-- 填充区 -->
        <div class="tian_chong w" style="height: 130px;"></div>
        <div class="content w">
            <div class="search">
                <div class="search_left">
                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
                        class="bi bi-search" viewBox="0 0 16 16">
                        <path
                            d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
                    </svg>
                    <input placeholder="搜索活动" class="search_input" id="search_input" />
                </div>
                <div class="search_right">
                    <button class="search_btn">搜索&nbsp;&nbsp;&nbsp;活动</button>
                    <div class="action">
                        <div class="action_lst">列表</div>
                        <div class="action_lst">年</div>
                        <div class="action_lst">月</div>

                    </div>
                </div>
            </div>
            <div class="caozuo">
            </div>
            <!-- 列表展示 -->
            <div class="gongnengBox">
                <button class="qiehuan"><i class="layui-icon layui-icon-face-smile" style="font-size: 30px; color: #1E9FFF;"></i></button>
                <button class="qiehuan">></button>
                <div class="nayitian">
                    2024年6月17日
                </div>
                <div class="youjiantou">></div>
            </div>
            <div class="event_list w">
                <div class="date_title">
                    <span>周一</span>
                    <span>周二</span>
                    <span>周三</span>
                    <span>周四</span>
                    <span>周五</span>
                    <span>周六</span>
                    <span>周天</span>
                </div>
                <div class="dropdown drr">
                    <button class="selectDate" type="button" data-toggle="dropdown" aria-expanded="false">
                        <svg class="dropdown-toggle" xmlns="http://www.w3.org/2000/svg" width="18" height="18"
                            fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
                            <path fill-rule="evenodd"
                                d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z" />
                        </svg>
                    </button>
                    <div class="dropdown-menu dropdown-menu_cdfs">
                        <div class="menu_cdfs_fg" style="width: 100%;height: 100%;background-color: #fff;">
                            <div class="menu_cdfs_fg_top">
                                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#020202"
                                    class="bi bi-chevron-left" viewBox="0 0 16 16">
                                    <path fill-rule="evenodd"
                                        d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z" />
                                </svg>
                                <span class="showDates">
                                </span>
                                <svg xmlns="http://www.w3.org/2000/svg" wwidth="20" height="20" fill="#020202"
                                    class="bi bi-chevron-right" viewBox="0 0 16 16">
                                    <path fill-rule="evenodd"
                                        d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" />
                                </svg>
                            </div>
                            <div class="menu_cdfs_fg_but">
                            </div>
                        </div>
                    </div>
                </div>
                <div id='calendar'></div>

            </div>
        </div>
        <div class="dibus">
            <!-- 第二个logo -->
            <div class="two_logo_box w">
                <img src="	https://www.oneupus.com/wp-content/uploads/2022/05/QQ%E5%9B%BE%E7%89%8720220501174408-400x70.png"
                    alt="">
            </div>
            <div class="tioajiapo w">
                <div class="lie1">
                    <div class="list"><a href="#" class="type1">关于众越</a></div>
                    <div class="list"><a href="#" class="type1">服务介绍</a></div>
                    <div class="list"><a href="#" class="type1">诚邀合伙人</a></div>
                    <div class="list"><a href="#" class="type1">客户专区</a></div>
                </div>
                <div class="lie2">
                    <div class="list"><a href="#" class="type1">Privacy Policy</a></div>
                    <div class="list"><a href="#" class="type1">Website Terms of Use</a></div>
                    <div class="list"><a href="#" class="type1">TERMS AND CONDITIONS</a></div>
                    <div class="list">
                        <p class="type2">contact@oneupus.com</p>
                        <p class="type2">(1)888-885-877</p>
                    </div>
                    <div class="list">
                        <div class="list dfh">
                            <div class="li">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
                                    <rect x="0" y="0" width="100%" height="100%" fill="#fff" /> <!-- 使用Bootstrap的危险红 -->
                                    <path
                                        d="M16 8.0486C16 3.60314 12.418 -0.000610352 7.99949 -0.000610352C3.58095 -0.000610352 -0.000976562 3.60314 -0.000976562 8.0486C-0.000976562 12.0662 2.92468 15.3962 6.74942 16V10.3753H4.71805V8.0486H6.74942V6.27526C6.74942 4.25792 7.94383 3.14361 9.77132 3.14361C10.6466 3.14361 11.5622 3.30082 11.5622 3.30082V5.28168H10.5534C9.55951 5.28168 9.24957 5.90215 9.24957 6.53869V8.0486H11.4684L11.1137 10.3753H9.24957V16C13.0743 15.3962 16 12.0662 16 8.0486Z"
                                        fill="#2B3564" />
                                </svg>
                            </div>
                            <div class="li">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">

                                    <rect x="0" y="0" width="100%" height="100%" fill="#fff" />


                                    <path
                                        d="M5.02601 15C11.0636 15 14.3673 9.99705 14.3673 5.66585C14.3673 5.5251 14.3673 5.38435 14.3609 5.2436C15.0012 4.78297 15.5582 4.20079 16 3.54183C15.411 3.80413 14.7771 3.97687 14.1112 4.06004C14.7899 3.65699 15.3085 3.01083 15.5582 2.24311C14.9244 2.62057 14.2201 2.88927 13.471 3.03642C12.8691 2.39665 12.0176 2 11.0764 2C9.26451 2 7.79192 3.47146 7.79192 5.28199C7.79192 5.53789 7.82393 5.7874 7.87515 6.03051C5.14766 5.89616 2.72749 4.58465 1.10764 2.60138C0.825931 3.0876 0.665866 3.65059 0.665866 4.25197C0.665866 5.39075 1.2485 6.39518 2.12565 6.98376C1.58784 6.96457 1.08203 6.81742 0.640256 6.57431C0.640256 6.58711 0.640256 6.5999 0.640256 6.61909C0.640256 8.20571 1.77351 9.53642 3.27171 9.83711C2.9964 9.91388 2.70828 9.95226 2.40736 9.95226C2.19608 9.95226 1.9912 9.93307 1.79272 9.89469C2.20888 11.1998 3.42537 12.1467 4.85954 12.1722C3.73269 13.0551 2.31773 13.5797 0.781113 13.5797C0.518608 13.5797 0.256102 13.5669 0 13.5349C1.44698 14.4562 3.17567 15 5.02601 15Z"
                                        fill="#2B3564" />
                                </svg>
                            </div>
                            <div class="li">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">

                                    <rect x="0" y="0" width="100%" height="100%" fill="#fff" />


                                    <path
                                        d="M8.00075 0C5.82806 0 5.55539 0.00950025 4.70205 0.048334C3.85037 0.0873344 3.26903 0.222169 2.76036 0.420004C2.23419 0.62434 1.78785 0.897676 1.34318 1.34251C0.898176 1.78719 0.62484 2.23352 0.419838 2.75953C0.221502 3.26837 0.0865008 3.84987 0.0481671 4.70122C0.01 5.55456 0 5.82739 0 8.00008C0 10.1728 0.00966692 10.4446 0.048334 11.298C0.0875011 12.1496 0.222336 12.731 0.420004 13.2396C0.624507 13.7658 0.897843 14.2121 1.34268 14.6568C1.78719 15.1018 2.23352 15.3758 2.75936 15.5802C3.26837 15.778 3.84987 15.9128 4.70138 15.9518C5.55472 15.9907 5.82723 16.0002 7.99975 16.0002C10.1726 16.0002 10.4444 15.9907 11.2978 15.9518C12.1495 15.9128 12.7315 15.778 13.2405 15.5802C13.7665 15.3758 14.2121 15.1018 14.6567 14.6568C15.1017 14.2121 15.375 13.7658 15.58 13.2398C15.7767 12.731 15.9117 12.1495 15.9517 11.2981C15.99 10.4448 16 10.1728 16 8.00008C16 5.82739 15.99 5.55472 15.9517 4.70138C15.9117 3.84971 15.7767 3.26837 15.58 2.7597C15.375 2.23352 15.1017 1.78719 14.6567 1.34251C14.2116 0.897509 13.7666 0.624173 13.24 0.420004C12.73 0.222169 12.1483 0.0873344 11.2966 0.048334C10.4433 0.00950025 10.1716 0 7.99825 0H8.00075ZM7.28308 1.44168C7.49608 1.44135 7.73375 1.44168 8.00075 1.44168C10.1368 1.44168 10.3899 1.44935 11.2335 1.48768C12.0135 1.52335 12.4368 1.65368 12.7188 1.76319C13.0921 1.90819 13.3583 2.08152 13.6381 2.36152C13.9181 2.64153 14.0915 2.9082 14.2368 3.28153C14.3463 3.5632 14.4768 3.98654 14.5123 4.76655C14.5507 5.60989 14.559 5.86323 14.559 7.99825C14.559 10.1333 14.5507 10.3866 14.5123 11.2299C14.4767 12.01 14.3463 12.4333 14.2368 12.715C14.0918 13.0883 13.9181 13.3541 13.6381 13.634C13.3581 13.914 13.0923 14.0873 12.7188 14.2323C12.4371 14.3423 12.0135 14.4723 11.2335 14.508C10.3901 14.5463 10.1368 14.5547 8.00075 14.5547C5.86456 14.5547 5.61139 14.5463 4.76805 14.508C3.98804 14.472 3.5647 14.3416 3.28253 14.2321C2.9092 14.0871 2.64253 13.9138 2.36252 13.6338C2.08252 13.3538 1.90919 13.0878 1.76385 12.7143C1.65435 12.4326 1.52385 12.0093 1.48835 11.2293C1.45002 10.3859 1.44235 10.1326 1.44235 7.99625C1.44235 5.85989 1.45002 5.60789 1.48835 4.76455C1.52402 3.98454 1.65435 3.5612 1.76385 3.2792C1.90885 2.90586 2.08252 2.63919 2.36252 2.35919C2.64253 2.07919 2.9092 1.90585 3.28253 1.76052C3.56454 1.65052 3.98804 1.52052 4.76805 1.48468C5.50606 1.45135 5.79206 1.44135 7.28308 1.43968V1.44168ZM12.2711 2.77003C11.7411 2.77003 11.3111 3.19953 11.3111 3.72971C11.3111 4.25971 11.7411 4.68972 12.2711 4.68972C12.8011 4.68972 13.2311 4.25971 13.2311 3.72971C13.2311 3.1997 12.8011 2.7697 12.2711 2.7697V2.77003ZM8.00075 3.89171C5.73189 3.89171 3.89237 5.73123 3.89237 8.00008C3.89237 10.2689 5.73189 12.1076 8.00075 12.1076C10.2696 12.1076 12.1085 10.2689 12.1085 8.00008C12.1085 5.73123 10.2694 3.89171 8.00058 3.89171H8.00075ZM8.00075 5.33339C9.47343 5.33339 10.6674 6.52723 10.6674 8.00008C10.6674 9.47276 9.47343 10.6668 8.00075 10.6668C6.5279 10.6668 5.33406 9.47276 5.33406 8.00008C5.33406 6.52723 6.5279 5.33339 8.00075 5.33339Z"
                                        fill="#2B3564" />
                                </svg>
                            </div>
                            <div class="li">
                                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
                                    <rect x="0" y="0" width="100%" height="100%" fill="#fff" />
                                    <path fill="#2b3564"
                                        d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z" />
                                </svg>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="lie3">
                    <div class="list type3">订阅我们的新闻</div>
                    <div class="list type4">订阅我们的新闻咨询，获取有用的文章、提示和技巧，以促进您的业务成功：</div>
                    <div class="list">
                        <input type="text" class="type5" placeholder="Email Address" id="getEmail">
                    </div>
                    <div class="list"><button class="submit" id="submit">提交信息</button></div>
                </div>
            </div>
            <div class="likPath w">
                <div class="likPath_content">
                    © Copyright 2024 | ONEUPUS <a href="https://www.oneupus.com/" class="zyf">众越财富</a> | All Rights
                    Reserved
                    | Powered by <a href="https://www.oneupus.com/oneupus.com" class="zyf">TOP</a>
                </div>
            </div>
            <!-- 底部footer区域 -->
            <div class="container_footer" id="footer">
                <span class="container_footer_info">We use cookies to ensure that we give you the best experience on our
                    website. If you continue to use this site we will assume that you are happy with it.</span>
                <a class="container_footer_ok" id="ok"><span>OK</span></a>
            </div>
        </div>
    </div>


    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.11/typed.min.js"></script>
    <script src="../js/content.js"></script>
    <script src='https://cdn.jsdelivr.net/npm/fullcalendar/index.global.min.js'></script>
    <script src="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.8/locales/zh-cn.js"></script>
    <script>
        // 获取当前的年月
        let T = new Date()
        // console.log(T, 'ttttt');
        // 获取当前年份
        var year = T.getFullYear()
        // 获取当前月份
        let month = T.getMonth() + 1
        $('#year').html(year)
        $('.showDates').html(year)

        $('#month').html(month)

        console.log(year, '年');
        console.log(month, '月');
        document.addEventListener('DOMContentLoaded', function () {
            const yearSelector = document.querySelector('.year_list');
            const currentYear = new Date().getFullYear();
            let yearsstr = ''; // 用于存储年份选项的数组
            var TD = []
            // 生成年份选项[2019-2030]
            for (let i = 2019; i <= 2030; i++) {
                TD.push(i);
                const option = document.createElement('option');
                option.value = i;
                option.textContent = i;
                yearsstr += `<div class="year_listsdf">${i}</div>`
            }
            console.log(yearsstr, 'yearsstr');
            $('.menu_cdfs_fg_but').html(yearsstr)

            const calendarEl = document.getElementById('calendar');
            const calendar = new FullCalendar.Calendar(calendarEl, {
                headerToolbar: {
                    left: 'prev,next,title',
                    // center: 'title',
                    // right: 'customMonthButton,customTodayButton' // 添加自定义的“月份”和“今天”按钮
                    right: ',customTodayButton' // 添加自定义的“月份”和“今天”按钮

                },
                initialDate: new Date(), // 当前日期
                firstDay: 1, // 设置周一为每周的第一天
                weekends: false,
                navLinks: false, // 可以点击日期导航
                editable: true,
                dayMaxEvents: true,
                views: {
                    week: {
                        columnFormat: 'ddd D/M' // "ddd"代表英文的周几缩写，"D"代表日期，"M"代表月份，这样就去掉了“日”字
                    },
                    dayGridDay: { // 对于日视图
                        columnHeader: false // 如果你想在日视图中也去掉顶部的日期文字，可以设置此选项
                    }
                },
                locale: 'zh', // 设置为中文
                initialView: 'dayGridMonth', // 初始化视图为月视图
                customButtons: {
                    customMonthButton: { // 自定义月份按钮
                        text: '月份',
                        click: function () {
                            calendar.changeView('dayGridMonth'); // 切换到月视图
                        }
                    },
                    customTodayButton: { // 自定义今天按钮
                        text: '今天',
                        click: function () {
                            calendar.today(); // 切换到今天的日期
                        }
                    }
                },
                dayRender: function (date, cell) {
                    if (date.format() === moment().format()) { // 如果是当天
                        cell.css('background-color', '#008c8c'); // 修改背景色
                        cell.css('border-color', '#008c8c'); // 修改边框颜色
                    }
                },
                events: [ /* 你的事件数据 */
                    {
                        title: '月末报告提交截止',
                        start: '2024-06-11', // 修改为4月1日的开始时间
                        end: '2024-06-11', // 结束时间同为4月1日的结束时间
                        allDay: true, // 设为全天事件，如果只需要标记日期，不需要具体时间跨度
                        location: '无',
                        description: '提醒各部门提交月度工作报告'
                    },
                    {
                        title: '月末报告提交截止', // 第二个事件如果是重复的，考虑是否需要或可合并
                        start: '2024-06-12', // 第二个事件开始于4月2日
                        end: '2024-06-12', // 结束于4月2日
                        allDay: true,
                        location: '无',
                        description: '提醒各部门提交月度工作报告'
                    },
                ],
                eventContent: function (info) {
                    var eventWrapper = document.createElement('div');
                    eventWrapper.classList.add('fc-event-custom-wrapper'); // 为事件容器添加类名

                    var titleElement = document.createElement('div');
                    titleElement.textContent = info.timeText || info.event.title; // 显示标题
                    titleElement.classList.add('fc-event-title'); // 为标题添加类名

                    var descriptionElement = document.createElement('div');
                    descriptionElement.textContent = info.event.extendedProps.description || ''; // 显示描述
                    descriptionElement.classList.add('fc-event-description'); // 为描述添加类名

                    eventWrapper.appendChild(titleElement);
                    eventWrapper.appendChild(descriptionElement);

                    return { domNodes: [eventWrapper] };
                },
                // 点击日历格子触发
                eventClick: function (info) {
                    alert('您点击了事件: ' + info.event.title);
                }
            });

            calendar.render();
            $('.year_listsdf').each(function (index, element) {

                // console.log(index, '索引值');
                if (year == TD[index]) {
                    $(this).addClass('current_year'); // 默认选中当前年份
                    $(this).addClass('selectedyear'); // 默认选中当前年份

                }
                // "this" 指向当前遍历到的元素
                $(this).on('click', function (event) {
                    if (event.target.innerText) {
                        const selectedYear = parseInt(event.target.innerText);
                        $('.showDates').html(event.target.innerText)
                        const currentDate = calendar.getDate();
                        const targetDate = new Date(selectedYear, currentDate.getMonth(), currentDate.getDate());
                        calendar.gotoDate(targetDate);
                    }
                    // 在这里编写处理点击事件的代码
                    $('.year_listsdf').removeClass('selectedyear'); // 移除之前所有已选中的元素的 'selected' 类
                    $(this).addClass('selectedyear'); // 给当前点击的元素添加 'selected' 类
                });
            });

        });


        // 回车查询
        $('#search_input').on('keydown', function (event) {
            console.log('Key down:', event.which);
            // 检查特定键，比如Ctrl + Enter
            if (event.ctrlKey && event.which === 13) {
                event.preventDefault();
                console.log(event, 'event');
                // submitForm(); 
            }
        });

    </script>

</body>

</html>